package com.pangsir.bookstore.service.impl;

import com.pangsir.bookstore.dao.BookDao;
import com.pangsir.bookstore.pojo.Book;
import com.pangsir.bookstore.service.BookService;


import java.util.List;

public class BookServiceImpl implements BookService {

    private BookDao bookDao;
    @Override
    public List<Book> getAllBookList() {
        return bookDao.getAllBookList();
    }

    @Override
    public Book getBookById(Integer id) {
        return bookDao.getBookById(id);
    }
}
